package com.ucs.daoDbImpl;

import java.util.List;

import com.ucs.dao.CategoryDao;

public class CategoryDaoImpl implements CategoryDao{
	@SuppressWarnings("unchecked")
	public List getCategories(){
		try {
			return SqlMapUtil.getSqlMapClient("ucs_food").queryForList("selectActiveCategory");			
		} catch (Exception e) {
			throw new UCSException("Could not get the list of categories", e);
		}
	}


}
